<template>
	<view class="main-box">
		<web-view :src="src"></web-view>

	</view>
</template>

<script>
	import {

		getshenhe

	} from '../../api/index.js'
	export default {
		data() {
			return {
				src: '',
				a: "",
				mobile: '',
				is: ''
			};
		},
		onShow() {

		},
		onLoad(options) {
			if (options.a) {
				this.a = options.a
			}
			getshenhe({
				pid: 2,
				ver: 48
			}).then((res) => {
				console.log(res)
				this.is = res.data.is
				if (this.is == 0) {
					this.src = 'https://kshk.91bak.com/zhiboclb/46/#/pages/107/107?a=' + this.a
				}
			})





		},
		methods: {

		}
	}
</script>

<style lang="scss">
	.main-box {
		text-align: center;
	}
</style>